/**
 * Copyright (c) 2016-2020 https://github.com/zhaohuatai
 *
 * contact 824069438@qq.com
 *  
 */
package org.zfes.snowier.cloud.zbss.layer.tc;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties (prefix = "tc")
public class ZTCConfigProperties  {
	
	@Value("${snowy.shardRedisWokers:false}")
	private Boolean shardRedisWokers;
	
	@Value("${snowy.serializeType:fast}") 
	private String serializeType;
	
	@Value("${snowy.expireDate:}") 
	private String expireDate;
	
	public String getSerializeType() {
		return serializeType;
	}

	public void setSerializeType(String serializeType) {
		this.serializeType = serializeType;
	}
	public Boolean getShardRedisWokers() {
		return shardRedisWokers;
	}

	public void setShardRedisWokers(Boolean shardRedisWokers) {
		this.shardRedisWokers = shardRedisWokers;
	}

	public String getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(String expireDate) {
		this.expireDate = expireDate;
	}
	
}
